The flask api also updates the put method but does not save it to the database